<?php
class SkinModel extends Orm_Base{
    public $table = 'skin';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'date' => array('type' => "varchar(10)",'comment' => '日期'),
        'week' => array('type' => "tinyint(1)",'comment' => '测量时间(1.周一、2.周二、3.周三、4.周四、5.周五、6.周六、7.周日'),
        'skin_status' => array('type' => "tinyint(1)",'comment' => '皮肤状态(1.完好、2.轻度、3.中度、4.重度)'),
        'wound_status' => array('type' => "tinyint(1)",'comment' => '伤口情况(1.有，已处理、2.无)'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
        'at' => array('type' => "tinyint(1)",'comment' => '时间点(1.早上、2.上午、3.中午、4.下午、5.晚上)'),
        'sid' => array('type' => "int(11)",'comemnt' => '关联老人ID'),
    );
    public $pk = 'id';
}
?>
